import 'package:flutter/material.dart';
import 'package:xiongan_app_yy/entrys/rp/car_info_list_entity.dart';
import 'package:xiongan_app_yy/pages/common/car_info_list_show.dart';
import 'package:xiongan_app_yy/widgets/comm/left_icon_widget.dart';

class CarInfoListDetails extends StatefulWidget {
  final Map<String, List<CarInfoListItem>> args;

  CarInfoListDetails(this.args);

  @override
  _CarInfoListDetailsState createState() => _CarInfoListDetailsState();
}

class _CarInfoListDetailsState extends State<CarInfoListDetails> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        elevation: 0,
        centerTitle: true,
        title: Text("车辆信息", style: TextStyle(fontSize: 18)),
        leading: LeftIconWidget(icon: Icons.chevron_left, isize: 36),
      ),
      body: CarInfoListShow(widget.args["datas"]),
    );
  }
}
